home *** CD-ROM | disk | FTP | other *** search
/ The Mac 13 / the-mac-13.iso / On The Rom / 100 Best Mac CD-ROMs Selection / UNZIP-DEMO / ZIPFILES / cont / 00005.ls < prev    next >
Encoding:
Text File  |  1995-05-25  |  5.0 KB  |  231 lines

  1. on roll
  2.   if soundBusy(1) = 0 then
  3.     sound playFile 1, "conts1"
  4.   end if
  5.   if the mouseCast = the castNum of sprite 6 then
  6.     go("p1")
  7.   end if
  8.   if the mouseCast = the castNum of sprite 7 then
  9.     go("p2")
  10.   end if
  11.   if the mouseCast = the castNum of sprite 8 then
  12.     go("p3")
  13.   end if
  14.   if the mouseCast = the castNum of sprite 9 then
  15.     go("p4")
  16.   end if
  17.   if the mouseCast = the castNum of sprite 10 then
  18.     go("p5")
  19.   end if
  20.   if the mouseCast = the castNum of sprite 11 then
  21.     go("p6")
  22.   end if
  23. end
  24.  
  25. on roll1
  26.   if soundBusy(1) = 0 then
  27.     sound playFile 1, "conts1"
  28.   end if
  29.   if the mouseCast = the castNum of sprite 7 then
  30.     go("p2")
  31.   end if
  32.   if the mouseCast = the castNum of sprite 8 then
  33.     go("p3")
  34.   end if
  35.   if the mouseCast = the castNum of sprite 9 then
  36.     go("p4")
  37.   end if
  38.   if the mouseCast = the castNum of sprite 10 then
  39.     go("p5")
  40.   end if
  41.   if the mouseCast = the castNum of sprite 11 then
  42.     go("p6")
  43.   end if
  44.   if the mouseCast = the castNum of sprite 13 then
  45.     sound stop 1
  46.     go("rol")
  47.   end if
  48.   if the mouseCast = the castNum of sprite 16 then
  49.     sound stop 1
  50.     go("rol")
  51.   end if
  52. end
  53.  
  54. on roll2
  55.   if soundBusy(1) = 0 then
  56.     sound playFile 1, "conts1"
  57.   end if
  58.   if the mouseCast = the castNum of sprite 6 then
  59.     go("p1")
  60.   end if
  61.   if the mouseCast = the castNum of sprite 8 then
  62.     go("p3")
  63.   end if
  64.   if the mouseCast = the castNum of sprite 9 then
  65.     go("p4")
  66.   end if
  67.   if the mouseCast = the castNum of sprite 10 then
  68.     go("p5")
  69.   end if
  70.   if the mouseCast = the castNum of sprite 11 then
  71.     go("p6")
  72.   end if
  73.   if the mouseCast = the castNum of sprite 13 then
  74.     sound stop 1
  75.     go("rol")
  76.   end if
  77.   if the mouseCast = the castNum of sprite 16 then
  78.     sound stop 1
  79.     go("rol")
  80.   end if
  81. end
  82.  
  83. on roll3
  84.   if soundBusy(1) = 0 then
  85.     sound playFile 1, "conts1"
  86.   end if
  87.   if the mouseCast = the castNum of sprite 6 then
  88.     go("p1")
  89.   end if
  90.   if the mouseCast = the castNum of sprite 7 then
  91.     go("p2")
  92.   end if
  93.   if the mouseCast = the castNum of sprite 9 then
  94.     go("p4")
  95.   end if
  96.   if the mouseCast = the castNum of sprite 10 then
  97.     go("p5")
  98.   end if
  99.   if the mouseCast = the castNum of sprite 11 then
  100.     go("p6")
  101.   end if
  102.   if the mouseCast = the castNum of sprite 13 then
  103.     sound stop 1
  104.     go("rol")
  105.   end if
  106.   if the mouseCast = the castNum of sprite 16 then
  107.     sound stop 1
  108.     go("rol")
  109.   end if
  110. end
  111.  
  112. on roll4
  113.   if soundBusy(1) = 0 then
  114.     sound playFile 1, "conts1"
  115.   end if
  116.   if the mouseCast = the castNum of sprite 6 then
  117.     go("p1")
  118.   end if
  119.   if the mouseCast = the castNum of sprite 7 then
  120.     go("p2")
  121.   end if
  122.   if the mouseCast = the castNum of sprite 8 then
  123.     go("p3")
  124.   end if
  125.   if the mouseCast = the castNum of sprite 10 then
  126.     go("p5")
  127.   end if
  128.   if the mouseCast = the castNum of sprite 11 then
  129.     go("p6")
  130.   end if
  131.   if the mouseCast = the castNum of sprite 13 then
  132.     sound stop 1
  133.     go("rol")
  134.   end if
  135.   if the mouseCast = the castNum of sprite 16 then
  136.     sound stop 1
  137.     go("rol")
  138.   end if
  139. end
  140.  
  141. on roll5
  142.   if soundBusy(1) = 0 then
  143.     sound playFile 1, "conts1"
  144.   end if
  145.   if the mouseCast = the castNum of sprite 6 then
  146.     go("p1")
  147.   end if
  148.   if the mouseCast = the castNum of sprite 7 then
  149.     go("p2")
  150.   end if
  151.   if the mouseCast = the castNum of sprite 8 then
  152.     go("p3")
  153.   end if
  154.   if the mouseCast = the castNum of sprite 9 then
  155.     go("p4")
  156.   end if
  157.   if the mouseCast = the castNum of sprite 11 then
  158.     go("p6")
  159.   end if
  160.   if the mouseCast = the castNum of sprite 13 then
  161.     sound stop 1
  162.     go("rol")
  163.   end if
  164.   if the mouseCast = the castNum of sprite 16 then
  165.     sound stop 1
  166.     go("rol")
  167.   end if
  168. end
  169.  
  170. on roll6
  171.   if soundBusy(1) = 0 then
  172.     sound playFile 1, "conts1"
  173.   end if
  174.   if the mouseCast = the castNum of sprite 6 then
  175.     go("p1")
  176.   end if
  177.   if the mouseCast = the castNum of sprite 7 then
  178.     go("p2")
  179.   end if
  180.   if the mouseCast = the castNum of sprite 8 then
  181.     go("p3")
  182.   end if
  183.   if the mouseCast = the castNum of sprite 9 then
  184.     go("p4")
  185.   end if
  186.   if the mouseCast = the castNum of sprite 10 then
  187.     go("p5")
  188.   end if
  189.   if the mouseCast = the castNum of sprite 13 then
  190.     sound stop 1
  191.     go("rol")
  192.   end if
  193.   if the mouseCast = the castNum of sprite 16 then
  194.     sound stop 1
  195.     go("rol")
  196.   end if
  197. end
  198.  
  199. on eyerol
  200.   set the locV of sprite 19 to the mouseV
  201.   if the locV of sprite 19 > 330 then
  202.     set the locV of sprite 19 to 330
  203.   end if
  204.   if the locV of sprite 19 < 313 then
  205.     set the locV of sprite 19 to 313
  206.   end if
  207.   set the locH of sprite 19 to the mouseH - 20
  208.   if the locH of sprite 19 > 170 then
  209.     set the locH of sprite 19 to 170
  210.   end if
  211.   if the locH of sprite 19 < 140 then
  212.     set the locH of sprite 19 to 140
  213.   end if
  214.   updateStage()
  215.   set the locV of sprite 20 to the mouseV
  216.   if the locV of sprite 20 > 329 then
  217.     set the locV of sprite 20 to 329
  218.   end if
  219.   if the locV of sprite 20 < 310 then
  220.     set the locV of sprite 20 to 310
  221.   end if
  222.   set the locH of sprite 20 to the mouseH + 20
  223.   if the locH of sprite 20 > 300 then
  224.     set the locH of sprite 20 to 300
  225.   end if
  226.   if the locH of sprite 20 < 270 then
  227.     set the locH of sprite 20 to 270
  228.   end if
  229.   updateStage()
  230. end
  231.